<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>文件上传和下载</title>
</head>
<body>
<h1>文件上传和下载示例</h1>
<hr>
<h2>上传文件</h2>
<form id="uploadForm" action="http://localhost:8888/api/points/uploadFile" method="post" enctype="multipart/form-data">
  <input type="file" name="file" id="file">
  <input type="text" name="pointsId" id="pointsId" placeholder="pointsId ID">
  <button type="submit">上传文件</button>
</form>
<hr>
<h2>下载文件</h2>
<form id="downloadForm" action="http://localhost:8888/api/points/download" method="get">
  <input type="text" name="pointsId" id="pointsId2" placeholder="pointsId ID">
  <button type="submit">下载文件</button>
</form>
</body>
</html>
